import { createApp } from 'vue'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import App from './App.vue'
import router from './router'
import '@/assets/base.css'

import 'element-plus/dist/index.css';
import '@fortawesome/fontawesome-free/css/all.min.css';
// 引入Quill基础样式
import 'quill/dist/quill.core.css';
// 引入Quill的snow主题样式
import 'quill/dist/quill.snow.css';

const app = createApp(App)
const pinia = createPinia()

pinia.use(piniaPluginPersistedstate)
app.use(pinia)

app.use(router)
app.mount('#app')
